<template>
<div class="hhot">
      <div class="hot">
    <div class="hot-top">
        <img src="http://img1.qunarzz.com/piao/fusion/1711/16/bfbb9874e8f11402.png" alt="">
        <span class="hot-title1">本周热门榜单</span>
        <span class="hot-title">全部榜单  ></span>
    </div> 

    <ul class="hot-list">
        <li class="hot-item" v-for="item in hotList" :key="item.id">
            <img :src="item.imgUrl" alt="">
            <p>{{item.title}}</p>
            <p>
                <span class="hot-mark">￥{{item.mark}}</span>起
            </p>
        </li>
    </ul>
  </div>
</div>
</template>

<script>
export default {
  props: ["hotList"],
  data() {
    return {};
  }
};
</script>

<style lang="less" scoped>
@import "../../../assets/css/common.less";

.hot {
  height: 4.3rem;
  border-bottom: 0.2rem solid #e4e4e4;
  margin-top: 0.2rem;
  background: #fff;
  font-size: 0.28rem;
}
.hot-top {
  position: relative;
  padding: 0 0.2rem 0.2rem 0.2rem;
}
.hot-title1 {
  color: #212121;
  font-size: 0.32rem;
}
.hot-top img {
  width: 0.3rem;
  height: 0.3rem;
}
.hot-title {
  position: absolute;
  right: 0.2rem;
  color: #616161;
}
.hot-list {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  height: 4.3rem;
}
.hot-item {
  display: inline-block;
  padding: 0 0.2rem;
  width: 2.6rem;
  height: 2.6rem;
}

.hot-item p {
  margin-top: 0.1rem;
  text-align: center;
  .textOverflow;
}
.hot-item p .hot-mark {
  color: #ff8300;
  font-size: 0.32rem;
  text-align: center;
}
</style>


